package com.zhy.springcloud.serivce;

import com.zhy.springcloud.enetities.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zhy
 * @Description
 * @ClassName PaymentService
 * @Date 2020/12/28 14:24
 **/
@FeignClient(value = "nacos-payment-provider",fallback = PaymentFallbackService.class)
public interface PaymentService {

    @GetMapping("/paymentSQL/{id}")
    CommonResult paymentSQL(@PathVariable(value = "id") Long id);




}
